Skip to content

fix: skills reference swamp-troubleshooting for understanding internals#813

Merged
stack72 merged 1 commit intomainfrom
skills-troubleshooting-reference
Mar 21, 2026
Merged

fix: skills reference swamp-troubleshooting for understanding internals#813
stack72 merged 1 commit intomainfrom
skills-troubleshooting-reference

Conversation

@stack72
Copy link
Contributor

@stack72 stack72 commented Mar 21, 2026

Summary

  • All 10 swamp-* skills now reference swamp-troubleshooting in their "When to Use Other Skills" table, so Claude knows to fetch source code when CLI --help doesn't provide enough detail about internals (auth flow, extension push, init process, etc.)
  • Broadened swamp-troubleshooting scope beyond just error debugging — it now triggers on understanding signals ("how does", "where is", "internals") and includes a new "When CLI Help Isn't Enough" section with specific areas to investigate
  • Moved verbose Model Outputs section from swamp-model/SKILL.md to references/outputs.md to stay under the 500-line skill-creator limit (580 → 495 lines)
  • Registered outputs.md in skill_assets.ts so it's included in repo init and repo upgrade

Closes #804

Test plan

  • deno check passes on skill_assets.ts
  • Verify each modified SKILL.md has the new troubleshooting row in its table
  • Verify swamp-troubleshooting/SKILL.md description includes understanding signals
  • Verify swamp-model/SKILL.md is under 500 lines
  • Verify references/outputs.md contains the moved content
  • repo init and repo upgrade copy the new outputs.md file

🤖 Generated with Claude Code

Co-authored-by: Blake Irvin blakeirvin@me.com

@stack72 stack72 force-pushed the skills-troubleshooting-reference branch 4 times, most recently from 6946034 to c0d8c98 Compare March 21, 2026 01:43
When CLI --help doesn't provide enough detail about swamp internals (auth
flow, extension push, init process), Claude had no guidance to dig deeper
into the source code. This updates all swamp skills to reference
swamp-troubleshooting as a fallback, and broadens swamp-troubleshooting
itself to cover "understanding internals" — not just error debugging.

Changes:
- Add "Understand swamp internals | swamp-troubleshooting" row to the
  "When to Use Other Skills" table in all 10 swamp-* skills
- Broaden swamp-troubleshooting description to trigger on understanding
  signals ("how does", "where is", "internals") not just error signals
- Add "When CLI Help Isn't Enough" section to swamp-troubleshooting with
  specific areas: auth, extension push, init, data persistence
- Move verbose Model Outputs section from swamp-model SKILL.md to
  references/outputs.md to stay under 500-line skill-creator limit
  (580 → 495 lines)
- Register outputs.md in skill_assets.ts for repo init/upgrade

Closes #804

Co-authored-by: Blake Irvin <blakeirvin@me.com>
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
@stack72 stack72 force-pushed the skills-troubleshooting-reference branch from c0d8c98 to bdd9fe9 Compare March 21, 2026 01:47
Copy link

@github-actions github-actions bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Adversarial Review

This PR is almost entirely documentation restructuring (skill markdown files) with one code change: adding two entries to the BUNDLED_SKILLS array in src/infrastructure/assets/skill_assets.ts.

Critical / High

None.

Medium

None.

Low

  1. .claude/skills/swamp-data/SKILL.md:368 — The GC dry-run output shape example was trimmed from two items to one. The removed item showed a different reason value ("lifetime:1h") which demonstrated that multiple reason formats exist. Minor documentation loss — users seeing only "lifetime:ephemeral" might not realize duration-based reasons also appear. Not a code issue.

Verdict

PASS — This is a straightforward documentation refactor: content moved from inline SKILL.md sections to references/ files, cross-skill troubleshooting links added, and the two new reference files registered in skill_assets.ts. The code change is a static array append with no logic. All referenced files exist on disk. No correctness, security, or resource management concerns.

Copy link

@github-actions github-actions bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Review: Approve

No blocking issues found. This is a well-structured documentation improvement.

What was reviewed

  • All 13 skill markdown files for consistent troubleshooting cross-references
  • New reference files (outputs.md, checks.md) for content accuracy vs originals
  • skill_assets.ts registration entries follow existing patterns
  • swamp-model/SKILL.md is 495 lines (under the 500-line skill-creator limit)
  • swamp-troubleshooting description correctly broadened for understanding signals

Observations

  • Content in the extracted reference files is a faithful move — no information lost
  • The swamp-data/SKILL.md changes go beyond just adding the troubleshooting row — the rename workflow and GC sections were improved with step-by-step workflows and safety guidance, which is a nice improvement
  • All "When to Use Other Skills" tables are consistently formatted across skills
  • No code logic changes, no security concerns, no test changes needed

Looks good to merge.

@stack72 stack72 merged commit 9b662fb into main Mar 21, 2026
8 checks passed
@stack72 stack72 deleted the skills-troubleshooting-reference branch March 21, 2026 01:53
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Skills should reference upstream source code when CLI help is insufficient

1 participant